// socket.js
import socketIOClient from "socket.io-client";
 
const ENDPOINT = "http://localhost:3000";

const socket = socketIOClient(ENDPOINT, {
    transports: ['websocket'],
});

export default socket